/**
 * output package name
 */
package com.kingdee.eas.custom.wg;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class OrderTypeEnum extends StringEnum
{
    public static final String A_VALUE = "A";
    public static final String B_VALUE = "B";

    public static final OrderTypeEnum A = new OrderTypeEnum("A", A_VALUE);
    public static final OrderTypeEnum B = new OrderTypeEnum("B", B_VALUE);

    /**
     * construct function
     * @param String orderTypeEnum
     */
    private OrderTypeEnum(String name, String orderTypeEnum)
    {
        super(name, orderTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OrderTypeEnum getEnum(String orderTypeEnum)
    {
        return (OrderTypeEnum)getEnum(OrderTypeEnum.class, orderTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OrderTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OrderTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OrderTypeEnum.class);
    }
}